"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.generateBindCode = generateBindCode;
exports.bindPartner = bindPartner;
exports.fetchBindRequests = fetchBindRequests;
exports.confirmBind = confirmBind;
const api_1 = require("./api");
function generateBindCode() {
    return (0, api_1.callService)("bindGenerateCode");
}
function bindPartner(bindCode) {
    return (0, api_1.callService)("bindPartner", { bindCode });
}
function fetchBindRequests() {
    return (0, api_1.callService)("bindRequestList");
}
function confirmBind(bindCode) {
    return (0, api_1.callService)("bindConfirm", { bindCode });
}
